package com.xuwang.pojo;

import java.sql.Timestamp;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 证书表(Credential)实体类
 *
 * @author yuepeng
 * @since 2021-09-14 09:46:12
 * @version 1.0
 */
@ApiModel(value = "Credential",description = "证书表")
public class Credential implements Serializable {
    private static final long serialVersionUID = 736543373200595711L;
    /**
    * 主键
    */
	@ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 许可证号
    */
	@ApiModelProperty(name = "licenseKey",notes = "许可证号",dataType = "String",required = true)
    private String licenseKey;
    /**
    * 有效截止日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	@ApiModelProperty(name = "validEndTime",notes = "有效截止日期",dataType = "Date",required = true)
    private Timestamp validEndTime;
    /**
    * 发证日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	@ApiModelProperty(name = "createTime",notes = "发证日期",dataType = "Date",required = true)
    private Timestamp createTime;
    /**
    * 发证机关
    */
	@ApiModelProperty(name = "licensingAuthority",notes = "发证机关",dataType = "String",required = true)
    private String licensingAuthority;
    /**
    * 现场核查人
    */
	@ApiModelProperty(name = "liveChecker",notes = "现场核查人",dataType = "String",required = true)
    private String liveChecker;

    public Timestamp getValidEndTime() {
        return validEndTime;
    }

    public void setValidEndTime(Timestamp validEndTime) {
        this.validEndTime = validEndTime;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getLicenseKey() {
        return licenseKey;
    }

    public void setLicenseKey(String licenseKey) {
        this.licenseKey = licenseKey;
    }






    public String getLicensingAuthority() {
        return licensingAuthority;
    }

    public void setLicensingAuthority(String licensingAuthority) {
        this.licensingAuthority = licensingAuthority;
    }
        
    public String getLiveChecker() {
        return liveChecker;
    }

    public void setLiveChecker(String liveChecker) {
        this.liveChecker = liveChecker;
    }

}